<template>
	<view class="answer">
		<view class="u-flex u-row-between u-p-t-14 u-p-b-14" v-for="(item, i) in list" :key="i">
			<text>{{ item.title }}</text>
			<view v-if="item.type == 'img'" class="img-div"><image mode="widthFix" v-for="(img, index) in item.value" :src="img"></image></view>
			<text v-else>{{ item.value }}</text>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	props: {
		list: {
			type: Array,
			default: []
		}
	},
	methods: {
		logincallback() {}
	}
};
</script>

<style lang="scss">
.answer {
	color: #999999;
	font-size: 30rpx;
}
.img-div {
	image {
		width: 80rpx;
	}
}
</style>
